<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://xmlns.jcp.org/jsf/passthrough">
    <h:head>
        <title>logon</title>
    </h:head>
    <h:body>

        <div class="modal fade" id="logonModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                        <h4 class="modal-title" id="myModalLabel">山阁用户登录</h4>
                    </div>
                    <div class="modal-body">


                        <h:form class="form-horizontal" role="form">
                            <div class="form-group">
                                <label for="userAccount" class="col-sm-2 control-label">帐号</label>
                                <div class="col-sm-10">                                    
                                    <h:inputText value="#{logonMgr.account}" class="form-control"  id="userAccount" p:placeholder="请输入您的登录帐号" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputPassword3" class="col-sm-2 control-label">登录密码</label>
                                <div class="col-sm-10">
                                    <h:inputSecret value="#{logonMgr.password}" class="form-control" id="inputPassword3" p:placeholder="密码"/>                                    
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-offset-2 col-sm-10">
                                    <h:commandButton value="登 录" class="btn btn-primary" action="#{logonMgr.logon()}"/>                                   
                                </div>
                            </div>
                        </h:form>


                    </div>
                    <div class="modal-footer">
                        夔之科技                       
                    </div>
                </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
        </div><!-- /.modal -->      
    </h:body>
</html>

